/*
 * @Author: xiaosihan 
 * @Date: 2024-01-07 00:55:07 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-01-07 01:25:16
 */


.btn {
    position: absolute;
    z-index: 1;
}

.componentNamesModal {
    position: relative;
    height: 500px;
    user-select: none;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;

    &::-webkit-scrollbar {
        width: 2px;
        height: 2px;
        background-color: rgba(0, 0, 0, 0);
    }

    &::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
        border-radius: 10px;
        background-color: rgba(0, 0, 0, 0);
    }

    &::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #e68e7b;
    }

    .style_block {
        display: inline-block;
        width: 300px;
        vertical-align: top;
        border: 1px solid #ffc5c5;
        margin: 2px;
        border-radius: 4px;
        padding: 2px;
    }

    .title {
        font-size: 20px;
    }

    .item {
        width: calc(100% - 2px);

        &:nth-child(even) {
            background-color: #ffebeb;
        }

        &:nth-child(odd) {
            background-color: #fdd3d3;
        }

        &:hover {
            background-color: #ff9a9a;
        }

        .name {
            display: inline-block;
            width: 100px;
            margin-left: 10px;
        }

        .key {
            cursor: pointer;
            border: 1px solid #00000000;
            padding: 0px 10px;

            &:hover {
                border: 1px solid #ff0000;
                padding: 0px 10px;
                border-radius: 5px;
                background-color: #fd6b6b;
                color: #ffffff;
            }
        }
    }

}